package org.studle.domain;

import java.util.Date;

public class Proposal extends ScheduleEntry {
	private static final String KEY_PREFFIX = "schentry";
	private static int keyNumber = 0;
	
	private Person initiator; //must to be a caller
	private Person party;
	public String id;

	public Proposal(Event event, Date eventStartDate, Person party){
		super(event, eventStartDate);		
		this.party = party;
		this.id = KEY_PREFFIX + keyNumber++;;
	}
	
	public String getID() {
		return id;
	}
	
	public Person getInitiator(){
		return this.initiator;
	}
	
}
